/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DAO;

import Entity.NhanVien;
import java.sql.ResultSet;

/**
 *
 * @author copang
 */
public interface NhanVienDAO {
    boolean add(NhanVien data, int MaQuyen);
    boolean delete(int MaNhanVien);
    boolean edit(NhanVien data, int MaQuyen);
    
    ResultSet getAll();
    
    ResultSet checkLogin(String userName, String pass);
    
    boolean changePass(int MaNV, String oldPass, String newPass);
}
